﻿/*-----------------------------------------------------------------------
 * <copyright file="AccountData.cs" company="O-RID">
 *     Copyright (c)2010 O-RID Co.,Ltd.
 * </copyright>
 * <author>Zhang Jun</author>
 * <summary>
 *          服务的数据传输项
 *          账号管理 已有用户基本信息
 *                  也用于记录新增用户信息
 *          作成日：09/19/2010
 * </summary>
 *-----------------------------------------------------------------------
 */
namespace Orid.Management.Statistics.Service.OPUnitService.Account.ServiceModel
{

    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Web;
    using System.Runtime.Serialization;

    /// <summary>
    /// 账号管理 已有用户基本信息
    /// 也用于记录新增用户信息
    /// </summary>
    [DataContract]
    public class AccountData : AccountInforBase
    {
        /// <summary>
        /// 自增id
        /// </summary>
        int id = 0;

        /// <summary>
        /// 自增id
        /// </summary>
        [DataMember]
        public int Id
        {
            get { return id; }
            set { id = value; }
        }

        /// <summary>
        ///  记录旧ID
        /// </summary>
        string oldAccountID = string.Empty;

        /// <summary>
        /// 记录旧ID
        /// </summary>
        [DataMember]
        public string OldAccountID
        {
            get { return oldAccountID; }
            set { oldAccountID = value; }
        }
        /// <summary>
        /// 用户密码
        /// </summary>
        string passWord = string.Empty;

        /// <summary>
        /// 用户密码
        /// </summary>
        [DataMember]
        public string PassWord
        {
            get { return passWord; }
            set { passWord = value; }
        }

    }
}
